Repository navigation
Release - #30
Merged
Merged
Release#30
Conversation
Millisecond aligned wall-clock timestamps (Ticks.AlignToMillisecondDistribution) cannot represent every frame slot above 1,000 frames per second. At 3,000 fps file replay with SimulateTimestamp produced only about 2,000 distinct timestamps per second, with some slots used twice, so downstream consumers aligning to a 3,000-slot grid lost about a third of the frames. - Add SimulatedTimestampGenerator: anchors to the wall clock on the first frame, then advances a frame counter across the full-resolution sub-second distribution so every slot is used once and frames are exactly one period apart; re-anchors to the wall clock if drift exceeds MaximumDrift. - MultiProtocolFrameParser: use the generator for captured-frame replay timing when DefinedFrameRate > 1,000 (the existing behavior is unchanged at or below 1,000 fps), reset it on Start, report resyncs in Status, and use sub-second alignment for injected simulated timestamps. - ReplayTimer: add an optional catch-up window (100 ms for high frame rates) so scheduler jitter at sub-millisecond periods does not lower replay throughput below the defined frame rate. The default of zero keeps the previous behavior. - Add SimulatedTimestampGeneratorTest unit tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fix simulated timestamps for frame rates above 1,000 fps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.